home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / hplip / ui4 / nodevicesdialog_base.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  5.4 KB  |  57 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from PyQt4 import QtCore, QtGui
  5.  
  6. class Ui_NoDevicesDialog_base(object):
  7.     
  8.     def setupUi(self, NoDevicesDialog_base):
  9.         NoDevicesDialog_base.setObjectName('NoDevicesDialog_base')
  10.         NoDevicesDialog_base.resize(QtCore.QSize(QtCore.QRect(0, 0, 539, 335).size()).expandedTo(NoDevicesDialog_base.minimumSizeHint()))
  11.         self.gridlayout = QtGui.QGridLayout(NoDevicesDialog_base)
  12.         self.gridlayout.setObjectName('gridlayout')
  13.         self.Icon = QtGui.QLabel(NoDevicesDialog_base)
  14.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
  15.         sizePolicy.setHorizontalStretch(0)
  16.         sizePolicy.setVerticalStretch(0)
  17.         sizePolicy.setHeightForWidth(self.Icon.sizePolicy().hasHeightForWidth())
  18.         self.Icon.setSizePolicy(sizePolicy)
  19.         self.Icon.setFrameShape(QtGui.QFrame.NoFrame)
  20.         self.Icon.setScaledContents(True)
  21.         self.Icon.setWordWrap(False)
  22.         self.Icon.setObjectName('Icon')
  23.         self.gridlayout.addWidget(self.Icon, 0, 0, 1, 1)
  24.         spacerItem = QtGui.QSpacerItem(20, 280, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  25.         self.gridlayout.addItem(spacerItem, 1, 0, 1, 1)
  26.         spacerItem1 = QtGui.QSpacerItem(20, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  27.         self.gridlayout.addItem(spacerItem1, 2, 2, 1, 1)
  28.         self.textLabel7 = QtGui.QLabel(NoDevicesDialog_base)
  29.         self.textLabel7.setAlignment(QtCore.Qt.AlignVCenter)
  30.         self.textLabel7.setWordWrap(True)
  31.         self.textLabel7.setObjectName('textLabel7')
  32.         self.gridlayout.addWidget(self.textLabel7, 0, 1, 2, 4)
  33.         spacerItem2 = QtGui.QSpacerItem(400, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
  34.         self.gridlayout.addItem(spacerItem2, 3, 0, 1, 2)
  35.         self.SetupButton = QtGui.QPushButton(NoDevicesDialog_base)
  36.         self.SetupButton.setObjectName('SetupButton')
  37.         self.gridlayout.addWidget(self.SetupButton, 3, 2, 1, 1)
  38.         self.CUPSButton = QtGui.QPushButton(NoDevicesDialog_base)
  39.         self.CUPSButton.setObjectName('CUPSButton')
  40.         self.gridlayout.addWidget(self.CUPSButton, 3, 3, 1, 1)
  41.         self.CloseButton = QtGui.QPushButton(NoDevicesDialog_base)
  42.         self.CloseButton.setDefault(True)
  43.         self.CloseButton.setObjectName('CloseButton')
  44.         self.gridlayout.addWidget(self.CloseButton, 3, 4, 1, 1)
  45.         self.retranslateUi(NoDevicesDialog_base)
  46.         QtCore.QMetaObject.connectSlotsByName(NoDevicesDialog_base)
  47.  
  48.     
  49.     def retranslateUi(self, NoDevicesDialog_base):
  50.         NoDevicesDialog_base.setWindowTitle(QtGui.QApplication.translate('NoDevicesDialog_base', 'HP Device Manager - No Installed HP Devices Found', None, QtGui.QApplication.UnicodeUTF8))
  51.         self.textLabel7.setText(QtGui.QApplication.translate('NoDevicesDialog_base', '<html><head><meta name="qrichtext" content="1" /><style type="text/css">\np, li { white-space: pre-wrap; }\n</style></head><body style=" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;">\n<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:x-large; font-weight:600;">No Installed HP Devices Found.</span></p>\n<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">To setup a new device in the HP Device Manager (toolbox), use one of the following methods:</p>\n<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1.Run <span style=" font-weight:600;">hp-setup</span> (in a shell/terminal or click <span style=" font-family:\'Courier New,courier\';">Setup Device...</span> below).</p>\n<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2. <span style=" font-weight:600;">CUPS web interface</span> (open a browser to: <span style=" text-decoration: underline;">http://localhost:631</span> or press the button below),</p>\n<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3. The <span style=" font-weight:600;">printer installation utility</span> that came with your operating system (YaST, PrinterDrake, etc). </p>\n<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">After setting up a printer, you may have to press <span style=" font-family:\'Courier New,courier\';">F6</span> or chose <span style=" font-family:\'Courier New,courier\';">Device | Refresh All</span> for the printer to appear in the HP Device Manager.</p>\n<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; font-style:italic;">Note: Only devices installed with the </span><span style=" font-family:\'Courier New,courier\'; font-weight:600; font-style:italic;">hp:</span><span style=" font-weight:600; font-style:italic;"> or </span><span style=" font-family:\'Courier New,courier\'; font-weight:600; font-style:italic;">hpfax:</span><span style=" font-weight:600; font-style:italic;"> CUPS backend will appear in the HP Device Manager.</span></p>\n<p style="-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html>', None, QtGui.QApplication.UnicodeUTF8))
  52.         self.SetupButton.setText(QtGui.QApplication.translate('NoDevicesDialog_base', 'Setup Device...', None, QtGui.QApplication.UnicodeUTF8))
  53.         self.CUPSButton.setText(QtGui.QApplication.translate('NoDevicesDialog_base', 'CUPS Web Interface', None, QtGui.QApplication.UnicodeUTF8))
  54.         self.CloseButton.setText(QtGui.QApplication.translate('NoDevicesDialog_base', 'Close', None, QtGui.QApplication.UnicodeUTF8))
  55.  
  56.  
  57.